package com.goods.business.mapper;

import com.goods.common.model.business.Product;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface ProductMapper extends Mapper<Product> {
    //获取物资列表
    List<Product> findProductList(String name, Integer categoryId, String supplier, Integer status, Integer[] categorys,int length);
    //获取所有物资信息
    List<Product> findProducts(Integer status);
}
